package com.bjpowernode.crm.workbench.service.Impl;

import com.bjpowernode.crm.workbench.dao.ClueRelationDao;
import com.bjpowernode.crm.workbench.domain.ClueRemarkRelation;
import com.bjpowernode.crm.workbench.service.ClueRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:ClueRelationServiceImpl
 * package:com.bjpowernode.crm.workbench.service.Impl
 * Description:
 *
 * @date: 2022-06-13 20:12
 * @author：lin
 */
@Service
public class ClueRelationServiceImpl implements ClueRelationService {
    @Autowired
    private ClueRelationDao relationDao;


    @Override
    public boolean saveRelationActivity(List<ClueRemarkRelation> list) {

        return relationDao.saveRelationActivity(list);
    }

    @Override
    public boolean deleteClueActRelation(ClueRemarkRelation relation) {

        return relationDao.deleteClueActRelation(relation);
    }
}
